def print_str_len(string):
    count = 0
    for _ in string:
        count += 1
    print(F'字符串【{string}】的长度是：{count}')


str1 = '今天是个好日子'
str2 = '愿万事顺心'
str3 = 'Everything will be okay'

print_str_len(str1)
print_str_len(str2)
print_str_len(str3)
